package com.nongfuspring.nongfu.pojo;

import java.util.List;

public class RouterVo {
    /**
     * 路由地址
     */
    private String path;

    /**
     * 路由名字
     */
    private String name;

    /**
     * 组件地址
     */
    private String component;

    /**
     * 子路由
     */
    private List<RouterVo> children;

    /**
     * 菜单图标
     */
    private String icoCls;

    /**
     * 是否隐藏路由，当设置 true 的时候该路由不会再侧边栏出现
     */
    private boolean hidden;

    /**
     * 重定向地址，当设置 noRedirect 的时候该路由在面包屑导航中不可被点击
     */
    private String redirect;





    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getPath()
    {
        return path;
    }

    public void setPath(String path)
    {
        this.path = path;
    }

    public String getIcoCls() {
        return icoCls;
    }

    public void setIcoCls(String icoCls) {
        this.icoCls = icoCls;
    }

    public boolean getHidden()
    {
        return hidden;
    }

    public void setHidden(boolean hidden)
    {
        this.hidden = hidden;
    }

    public String getRedirect()
    {
        return redirect;
    }

    public void setRedirect(String redirect)
    {
        this.redirect = redirect;
    }

    public String getComponent()
    {
        return component;
    }

    public void setComponent(String component)
    {
        this.component = component;
    }

    public List<RouterVo> getChildren()
    {
        return children;
    }

    public void setChildren(List<RouterVo> children)
    {
        this.children = children;
    }
}
